package fr.umlv.m2.jee.spij.ldap.actors;

/**
 * Abstract class, can display an Actor.
 *
 * @author lounes
 */
public abstract class Actor {

    /**
     * first name of actor.
     */
    private String firstName;

    /**
     * last name of actor.
     */
    private String lastName;

    /**
     * mail of actor.
     */
    private String mail;

    /**
     * login of actor.
     */
    private String login;

    /**
     * password of actor.
     */
    private String passWord;

    /**
     * Empty constructor.
     */
    public Actor() {
    }

    /**
     * @return the type of actor.
     */
    public abstract String getType();

    /**
     * @return the actor menu.
     */
    public abstract String getMenu();

    /**
     * @param newFirstName the firstName to set.
     */
    public final void setFirstName(final String newFirstName) {
        this.firstName = newFirstName;
    }

    /**
     * @return the first name of Actor.
     */
    public final String getFirstName() {
        return firstName;
    }

    /**
     * @param newLastName the lastName to set.
     */
    public final void setLastName(final String newLastName) {
        this.lastName = newLastName;
    }

    /**
     * @return the last name of actor.
     */
    public final String getLastName() {
        return lastName;
    }

    /**
     * @param newMail the mail to set.
     */
    public final void setMail(final String newMail) {
        this.mail = newMail;
    }

    /**
     * @return the mail of actor.
     */
    public final String getMail() {
        return mail;
    }

    /**
     * @param newLogin the login to set.
     */
    public final void setLogin(final String newLogin) {
        this.login = newLogin;
    }

    /**
     * @return the login of actor.
     */
    public final String getLogin() {
        return login;
    }

    /**
     * @param newPassWord the pass word to set.
     */
    public final void setPassWord(final String newPassWord) {
        this.passWord = newPassWord;
    }

    /**
     * @return the pass word of actor.
     */
    public final String getPassWord() {
        return passWord;
    }

}
